#define _CRT_SECURE_NO_WARNINGS 1
//#include <fstream>
//#include <iostream>
//#include <string>
//#include <sstream>
//#include<vector>
//#include<algorithm>
//using namespace std;

#include"Stack.h"

void test1()
{
	Stack S;
	StackInit(&S);
	StackPush(&S, 1);
	StackPush(&S, 2);
	StackPush(&S, 3);
	StackPush(&S, 4);
	StackPush(&S, 5);
	/*while (!StackEmpty(&S))
	{
		printf("%d ", StackTop(&S));
		StackPop(&S);
	}*/
	printf("\n%d", StackSize(&S));
	StackDestroy(&S);
}

int main()
{    
	test1();
	return 0;
}